home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / vbasic / loanapp.exe / LOANF8.FRM < prev    next >
Text File  |  1993-07-22  |  13KB  |  425 lines

  1. VERSION 2.00
  2. Begin Form Form8 
  3.    BackColor       =   &H00808080&
  4.    ClientHeight    =   4620
  5.    ClientLeft      =   375
  6.    ClientTop       =   1590
  7.    ClientWidth     =   8880
  8.    ControlBox      =   0   'False
  9.    Height          =   5025
  10.    Left            =   315
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form8"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   4620
  16.    ScaleWidth      =   8880
  17.    Top             =   1245
  18.    Width           =   9000
  19.    Begin CommandButton Command2 
  20.       Caption         =   "Cancel"
  21.       Height          =   300
  22.       Left            =   4995
  23.       TabIndex        =   24
  24.       Top             =   4110
  25.       Width           =   3000
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "Ok"
  29.       Height          =   300
  30.       Left            =   885
  31.       TabIndex        =   23
  32.       Top             =   4110
  33.       Width           =   2940
  34.    End
  35.    Begin PictureBox Picture7 
  36.       Height          =   900
  37.       Left            =   45
  38.       ScaleHeight     =   870
  39.       ScaleWidth      =   8730
  40.       TabIndex        =   6
  41.       Top             =   2985
  42.       Width           =   8760
  43.       Begin VBedit BEditF8 
  44.          CellHeight      =   480
  45.          CellWidth       =   360
  46.          CharSet         =   16652
  47.          CombBaseLine    =   390
  48.          CombEndHeight   =   120
  49.          CombEndMarker   =   0   'False
  50.          CombHeight      =   60
  51.          FontBold        =   -1  'True
  52.          FontItalic      =   0   'False
  53.          FontName        =   "MS Sans Serif"
  54.          FontSize        =   9.75
  55.          FontStrikethru  =   0   'False
  56.          FontUnderline   =   0   'False
  57.          Height          =   495
  58.          Index           =   7
  59.          InflateBottom   =   180
  60.          InflateLeft     =   180
  61.          InflateRight    =   180
  62.          InflateTop      =   240
  63.          Left            =   2475
  64.          TabIndex        =   22
  65.          Top             =   330
  66.          Version         =   268435458
  67.          Width           =   6195
  68.       End
  69.       Begin VBedit BEditF8 
  70.          CellHeight      =   480
  71.          CellWidth       =   360
  72.          CharSet         =   16652
  73.          CombBaseLine    =   390
  74.          CombEndHeight   =   120
  75.          CombEndMarker   =   0   'False
  76.          CombHeight      =   60
  77.          FontBold        =   -1  'True
  78.          FontItalic      =   0   'False
  79.          FontName        =   "MS Sans Serif"
  80.          FontSize        =   9.75
  81.          FontStrikethru  =   0   'False
  82.          FontUnderline   =   0   'False
  83.          Height          =   495
  84.          Index           =   6
  85.          InflateBottom   =   180
  86.          InflateLeft     =   180
  87.          InflateRight    =   180
  88.          InflateTop      =   240
  89.          Left            =   810
  90.          TabIndex        =   21
  91.          Top             =   330
  92.          Version         =   268435458
  93.          Width           =   960
  94.       End
  95.       Begin Label Label10 
  96.          Caption         =   "Ages:"
  97.          Height          =   240
  98.          Left            =   1920
  99.          TabIndex        =   15
  100.          Top             =   525
  101.          Width           =   555
  102.       End
  103.       Begin Label Label9 
  104.          Caption         =   "Number:"
  105.          Height          =   225
  106.          Left            =   45
  107.          TabIndex        =   14
  108.          Top             =   525
  109.          Width           =   750
  110.       End
  111.       Begin Label Label7 
  112.          Caption         =   "Dependents (not listed by Co-Borrower):"
  113.          Height          =   225
  114.          Left            =   45
  115.          TabIndex        =   13
  116.          Top             =   45
  117.          Width           =   3480
  118.       End
  119.    End
  120.    Begin PictureBox Picture6 
  121.       Height          =   900
  122.       Left            =   5760
  123.       ScaleHeight     =   870
  124.       ScaleWidth      =   3030
  125.       TabIndex        =   5
  126.       Top             =   2010
  127.       Width           =   3060
  128.       Begin CheckBox Check1 
  129.          Caption         =   "Separated"
  130.          Height          =   240
  131.          Index           =   3
  132.          Left            =   1560
  133.          TabIndex        =   27
  134.          Top             =   585
  135.          Width           =   1215
  136.       End
  137.       Begin CheckBox Check1 
  138.          Caption         =   "Married"
  139.          Height          =   240
  140.          Index           =   2
  141.          Left            =   1560
  142.          TabIndex        =   26
  143.          Top             =   315
  144.          Width           =   975
  145.       End
  146.       Begin CheckBox Check1 
  147.          Caption         =   "Single"
  148.          Height          =   240
  149.          Index           =   1
  150.          Left            =   1560
  151.          TabIndex        =   25
  152.          Top             =   45
  153.          Width           =   900
  154.       End
  155.       Begin Label Label6 
  156.          Caption         =   "Marital Status:"
  157.          Height          =   210
  158.          Left            =   135
  159.          TabIndex        =   12
  160.          Top             =   330
  161.          Width           =   1305
  162.       End
  163.    End
  164.    Begin PictureBox Picture3 
  165.       Height          =   900
  166.       Left            =   45
  167.       ScaleHeight     =   870
  168.       ScaleWidth      =   5370
  169.       TabIndex        =   2
  170.       Top             =   2010
  171.       Width           =   5400
  172.       Begin VBedit BEditF8 
  173.          CellHeight      =   480
  174.          CellWidth       =   360
  175.          CharSet         =   16652
  176.          CombBaseLine    =   390
  177.          CombEndHeight   =   120
  178.          CombEndMarker   =   0   'False
  179.          CombHeight      =   60
  180.          FontBold        =   -1  'True
  181.          FontItalic      =   0   'False
  182.          FontName        =   "MS Sans Serif"
  183.          FontSize        =   9.75
  184.          FontStrikethru  =   0   'False
  185.          FontUnderline   =   0   'False
  186.          Height          =   495
  187.          Index           =   3
  188.          InflateBottom   =   180
  189.          InflateLeft     =   180
  190.          InflateRight    =   180
  191.          InflateTop      =   240
  192.          Left            =   45
  193.          TabIndex        =   18
  194.          Top             =   330
  195.          Version         =   268435458
  196.          Width           =   5280
  197.       End
  198.       Begin Label Label3 
  199.          Caption         =   "Home Phone Number (area code):"
  200.          Height          =   225
  201.          Left            =   45
  202.          TabIndex        =   9
  203.          Top             =   45
  204.          Width           =   2940
  205.       End
  206.    End
  207.    Begin PictureBox Picture5 
  208.       Height          =   900
  209.       Left            =   6945
  210.       ScaleHeight     =   870
  211.       ScaleWidth      =   1830
  212.       TabIndex        =   4
  213.       Top             =   1035
  214.       Width           =   1860
  215.       Begin VBedit BEditF8 
  216.          CellHeight      =   480
  217.          CellWidth       =   360
  218.          CharSet         =   16652
  219.          CombBaseLine    =   390
  220.          CombEndHeight   =   120
  221.          CombEndMarker   =   0   'False
  222.          CombHeight      =   60
  223.          FontBold        =   -1  'True
  224.          FontItalic      =   0   'False
  225.          FontName        =   "MS Sans Serif"
  226.          FontSize        =   9.75
  227.          FontStrikethru  =   0   'False
  228.          FontUnderline   =   0   'False
  229.          Height          =   495
  230.          Index           =   5
  231.          InflateBottom   =   180
  232.          InflateLeft     =   180
  233.          InflateRight    =   180
  234.          InflateTop      =   240
  235.          Left            =   405
  236.          TabIndex        =   20
  237.          Top             =   315
  238.          Version         =   268435458
  239.          Width           =   975
  240.       End
  241.       Begin Label Label5 
  242.          Alignment       =   2  'Center
  243.          Caption         =   "Years in School:"
  244.          Height          =   225
  245.          Left            =   45
  246.          TabIndex        =   11
  247.          Top             =   45
  248.          Width           =   1740
  249.       End
  250.    End
  251.    Begin PictureBox Picture4 
  252.       Height          =   900
  253.       Left            =   4755
  254.       ScaleHeight     =   870
  255.       ScaleWidth      =   1830
  256.       TabIndex        =   3
  257.       Top             =   1035
  258.       Width           =   1860
  259.       Begin VBedit BEditF8 
  260.          CellHeight      =   480
  261.          CellWidth       =   360
  262.          CharSet         =   16652
  263.          CombBaseLine    =   390
  264.          CombEndHeight   =   120
  265.          CombEndMarker   =   0   'False
  266.          CombHeight      =   60
  267.          FontBold        =   -1  'True
  268.          FontItalic      =   0   'False
  269.          FontName        =   "MS Sans Serif"
  270.          FontSize        =   9.75
  271.          FontStrikethru  =   0   'False
  272.          FontUnderline   =   0   'False
  273.          Height          =   510
  274.          Index           =   4
  275.          InflateBottom   =   180
  276.          InflateLeft     =   180
  277.          InflateRight    =   180
  278.          InflateTop      =   240
  279.          Left            =   210
  280.          TabIndex        =   19
  281.          Top             =   315
  282.          Version         =   268435458
  283.          Width           =   1425
  284.       End
  285.       Begin Label Label4 
  286.          Alignment       =   2  'Center
  287.          Caption         =   "Borrower's Age:"
  288.          Height          =   210
  289.          Left            =   45
  290.          TabIndex        =   10
  291.          Top             =   45
  292.          Width           =   1740
  293.       End
  294.    End
  295.    Begin PictureBox Picture2 
  296.       Height          =   900
  297.       Left            =   45
  298.       ScaleHeight     =   870
  299.       ScaleWidth      =   4380
  300.       TabIndex        =   1
  301.       Top             =   1035
  302.       Width           =   4410
  303.       Begin VBedit BEditF8 
  304.          CellHeight      =   480
  305.          CellWidth       =   360
  306.          CharSet         =   16652
  307.          CombBaseLine    =   390
  308.          CombEndHeight   =   120
  309.          CombEndMarker   =   0   'False
  310.          CombHeight      =   60
  311.          FontBold        =   -1  'True
  312.          FontItalic      =   0   'False
  313.          FontName        =   "MS Sans Serif"
  314.          FontSize        =   9.75
  315.          FontStrikethru  =   0   'False
  316.          FontUnderline   =   0   'False
  317.          Height          =   495
  318.          Index           =   2
  319.          InflateBottom   =   180
  320.          InflateLeft     =   180
  321.          InflateRight    =   180
  322.          InflateTop      =   240
  323.          Left            =   45
  324.          TabIndex        =   17
  325.          Top             =   330
  326.          Version         =   268435458
  327.          Width           =   4290
  328.       End
  329.       Begin Label Label2 
  330.          Caption         =   "Social Security Number:"
  331.          Height          =   225
  332.          Left            =   45
  333.          TabIndex        =   8
  334.          Top             =   45
  335.          Width           =   2115
  336.       End
  337.    End
  338.    Begin PictureBox Picture1 
  339.       Height          =   900
  340.       Left            =   45
  341.       ScaleHeight     =   870
  342.       ScaleWidth      =   8760
  343.       TabIndex        =   0
  344.       Top             =   60
  345.       Width           =   8790
  346.       Begin VBedit BEditF8 
  347.          CellHeight      =   480
  348.          CellWidth       =   360
  349.          CombBaseLine    =   390
  350.          CombEndHeight   =   120
  351.          CombEndMarker   =   0   'False
  352.          CombHeight      =   60
  353.          FontBold        =   -1  'True
  354.          FontItalic      =   0   'False
  355.          FontName        =   "MS Sans Serif"
  356.          FontSize        =   9.75
  357.          FontStrikethru  =   0   'False
  358.          FontUnderline   =   0   'False
  359.          Height          =   495
  360.          Index           =   1
  361.          InflateBottom   =   180
  362.          InflateLeft     =   180
  363.          InflateRight    =   180
  364.          InflateTop      =   240
  365.          Left            =   45
  366.          TabIndex        =   16
  367.          Top             =   330
  368.          Version         =   268435458
  369.          Width           =   8670
  370.       End
  371.       Begin Label Label1 
  372.          Caption         =   "Borrower's Name (include Jr. or Sr. if applicable):"
  373.          Height          =   225
  374.          Left            =   45
  375.          TabIndex        =   7
  376.          Top             =   45
  377.          Width           =   4230
  378.       End
  379.    End
  380. End
  381.  
  382. Sub Check1_Click (Index As Integer)
  383.     If Form8.Visible = True Then
  384.         If Form8.Check1(Index).Value = 1 Then
  385.             For i = 1 To 3
  386.                 If i <> Index Then
  387.                     Form8.Check1(i).Value = 0
  388.                 End If
  389.             Next i
  390.         End If
  391.     End If
  392. End Sub
  393.  
  394. Sub Command1_Click ()
  395.     MainRec.G.G1 = Form8.BEditF8(1).Text
  396.     MainRec.G.G2 = Form8.BEditF8(2).Text
  397.     MainRec.G.G3 = Form8.BEditF8(3).Text
  398.     MainRec.G.G4 = Form8.BEditF8(4).Text
  399.     MainRec.G.G5 = Form8.BEditF8(5).Text
  400.     MainRec.G.G6 = Form8.BEditF8(6).Text
  401.     MainRec.G.G7 = Form8.BEditF8(7).Text
  402.     For i = 1 To 3
  403.         If Form8.Check1(i).Value = 1 Then
  404.             MainRec.G.GC1 = i
  405.             MainRec.G.G8 = Form8.Check1(i).Caption
  406.             Exit For
  407.         Else
  408.             MainRec.G.GC1 = 0
  409.             MainRec.G.G8 = ""
  410.         End If
  411.     Next i
  412.     UpdateLabelG
  413.     Form8.Hide
  414. End Sub
  415.  
  416. Sub Command2_Click ()
  417.     Form8.Hide
  418. End Sub
  419.  
  420. Sub Form_Load ()
  421.     Form8.Left = 300
  422.     Form8.Top = (Screen.Height - Form8.Height) / 2
  423. End Sub
  424.  
  425.